package com.itheima.encapsulation;

public class Test {
    public static void main(String[] args) {
        // 测试封装后的Student类
        Student s1 = new Student();
        s1.setScore(99);
        System.out.println(s1.getScore());

        s1.printPass();
    }
}
